package com.xiaowan.apis.user;

import com.xiaowan.model.common.dtos.ResponseResult;
import com.xiaowan.model.user.PersonalInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "个人信息管理",description = "提供数据的管理、查询接口")
public interface PersonalInfoControllerApi {


    @ApiOperation("完善的个人信息")
    public ResponseResult addMessage(PersonalInfo personalInfo);

    @ApiOperation("查看借款人的个人信息")
    public ResponseResult findUserById(Integer id);

    @ApiOperation("修改个人信息")
    public ResponseResult updatePersonalInfo(PersonalInfo personalInfo);
}
